﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;

namespace Benefit.Interface.Day
{
    public interface ICompanyDayChange
    {

        /// <summary>
        /// 删除当日所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int tradeHistoryId);

        /// <summary>
        /// 保存日均值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitCompanyDayChange(int tradingHistoryId);



        /// <summary>
        /// 获取公司日总值
        /// </summary>
        /// <param name="accountid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <returns></returns>
        CompanyDayChange GetCompanyDayChange(int tradeHistoryId);

        /// <summary>
        /// 获取公司日总值
        /// </summary>
        /// <param name="accountid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <returns></returns>
        List<CompanyDayChange> GetCompanyDayChange(int month, int year);
    }
}
